package com.ming.test.page.ArraySort;

public class Demo3 {

    public  static void sortArray(){

    }

    public  static void handle(int [] arr,int start,int end){
        if(arr.length <=0){
            return;
        }
        int mark = arr[start];
        int l = start;
        int r = end;
        while (l!=r){

            while (l<r&&a[r]>mark){
                r--;
            }
            while(r<r&&a[l]<mark){
                l++;
            }
            if(l<r){
                let p = arr[l];
                arr[r] = arr[l];
                ar[l] = p;
            }
        }

        arr[start] = arr[l];
        arr[l] = mark;
        return; l
    }
}